<?php
/**
 * Create a store for the Employee table
 */
$this->widget('application.components.YiiModelStoreWidget', array(
    'storeId' => 'invoiceStore',
    'recordId' => 'InvoiceId',
    'model' => 'Invoice',
    'autoload' => false,
    'controllerName' => 'InvoiceController'
));
$this->widget('application.components.YiiModelStoreWidget', array(
    'storeId' => 'invoiceLineStore',
    'recordId' => 'InvoiceLineId',
    'model' => 'Invoiceline',
    'autoload' => false,
    'controllerName' => 'InvoiceLineController'
));

$this->widget('application.components.YiiModelStoreWidget', array(
    'storeId' => 'customerStore',
    'recordId' => 'CustomerId',
    'model' => 'Customer',
    'controllerName' => 'CustomerController'
));
include(dirname(__FILE__) . '/parts/invoice/viewport.php');
?>
